//
//  CPPPerson_hpp.hpp
//  test_cpp_lib
//
//  Created by CallMeDoby on 2021/1/3.
//

#ifndef CPPPerson_hpp
#define CPPPerson_hpp

#include <stdio.h>
#include <iostream>

using namespace std;

void(^ __nonnull cpp_swiftFuncIMP)(int) = NULL;

class CPPPerson {
    string name;
    int age;
    bool isMale;
    
public:
    CPPPerson();
    CPPPerson(const char * _Nonnull name, int age, bool isMale);
    ~CPPPerson();
    
    void printInfo();
    const char* _Nonnull getName();
    void callSwiftFunc(int value);
};

#endif /* CPPPerson_hpp */
